<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<p style="display: none" class="biu-login"></p>
	<div class="biu-sidebar">
		<div class="biu-options">
			<div class="biu-download">
				下载<span>APP</span>
				<div class="mls-qrcode">
					<img src="p2/160802/7e_0h22fa0g03cgl0c5676cb6k2ii71h_140x140.png">
				</div>
			</div>
			<div class="biu-cart">
				<a href="javascript:mycart(${user.userid });" target="_blank"><span
					class="cart-num biu-cart-num"></span>购物车</a>
			</div>
			<div class="biu-service">
				<a href="/annount/selectByPrimaryKey?flag=3" ><span class="service-num biu-service-num"></span>消息</a>
			</div>
			<div class="biu-mark">
				<a href="javascript:mylike(${user.userid });" target="_blank">收藏</a>
			</div>
			<div class="biu-footprint">
				<a href="javascript:mybrow(${user.userid });" target="_blank">足迹</a>
			</div>
		</div>
		<div class="biu-go2top"></div>
		<script>
			function mylike(userid){
				if(userid==null || userid==""){
					location.href='login.jsp';
					return;
				}
				location.href='/browfav/detil?userid='+userid;
			}
			function mycart(userid){
				if(userid==null || userid==""){
					location.href='login.jsp';
					return;
				}
				location.href='/cart/findCartByUId?userid='+userid;
			}
			function mybrow(userid){
				if(userid==null || userid==""){
					location.href='login.jsp';
					return;
				}
				location.href='/browfav/show?userid='+userid;
			}
		</script>
	</div>
</body>
</html>